package com.mz.ozy.mvp.model;


import android.app.Activity;
import android.content.Context;

import com.mz.ozy.constants.Constants;
import com.mz.ozy.net.RetrofitUtils;
import com.mz.ozy.utils.JsonUtils;

import java.util.HashMap;
import java.util.Map;

import io.reactivex.Observable;
import okhttp3.ResponseBody;

/**
 * @author
 * @date 2018/7/25
 * @description
 */
public class IdyllicDetailModel {

    public Observable<ResponseBody> getInfoDetail(Context context, String id) {
        Map<String, String> maps = new HashMap<>();
        maps.put("id", id);
        return RetrofitUtils.getApiService(context).post(Constants.TransCode.TransCode10070, JsonUtils.requestJsonDate(maps), Constants.tokenId);
    }
}
